package com.hp.ssm.mapper;

import com.hp.ssm.entity.Patient;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PatientMapper {
    List<Patient> showAll2(Patient patient);
    Patient findId(int pid);

    int updateStatus(Patient Patient);
    int insert(Patient patient);

    List<Patient> showAll(Patient patient);

    int fakedel(Integer pid);

    int recover(Integer pid);

    int add(Patient patient);

    int uid(String pphone);
}
